package com.zds.scm.service;

import com.zds.scm.common.service.CommonService;
import com.zds.scm.common.service.ServiceException;
import com.zds.scm.domain.UserInfo;

public interface UserInfoService extends CommonService<UserInfo> {
	  /**
	   * 登陆 返回true表示登陆成功
	   * @param userInfo
	   * @return
	   * @throws ServiceException
	   */
	  public void login(UserInfo userInfo) throws ServiceException;
	  /**
	   * 返回真表示密码修改成功
	   * @param userCode   账号
	   * @param userNewPwd 新密码
	   * @return
	   */
	  public void changePwd(String userCode,String userPwd,String userNewPwd);
}
